/*
 * @Description:
 * @Author: 呆龙
 * @Date: 2023-09-07 16:41:45
 * @LastEditTime: 2023-09-12 17:16:12
 * @LastEditors: 呆龙
 */
export interface Teachers {
  code: string;
  list: List[];
}

export interface List {
  description: string;
  edition: string;
  id: string;
  number: string;
  status: boolean;
  year: string;
}

// 机构的类型
export interface MechanismTreeData {
  code: number;
  list: List[];
}

export interface TreeDataList {
  child: Child[];
  delFlag: boolean;
  hasChildren: boolean;
  id: string;
  jdhid: string;
  location: number;
  mcid: boolean;
  mechanismcode: string;
  mechanismName: string;
  name: string;
  opAt: string;
  opBy: string;
  parentId: string;
  remark: string;
}

export interface Child {
  id: string;
  name: string;
  parentId: string;
  remark:string
}
// 创建和编辑表单的类型数据
export interface FormState {
  topMechanism: string;
  mechanismName: string;
  mechanismcode: string;
  remark: string;
}